package com.garlic.face.jlf.model;

import android.text.TextUtils;

public class AuthBean {
    private String device_num = "";
    private String store_code = "";
    private String ali_store_id = "";
    private String koubei_store_id = "";
    private String inner_device_num = "";
    private String out_store_code = "";
    private String app_id = "";
    private String partner_id = "";
    private String merchant_id = "";
    private String name = "";
    private String branch_name = "";
    private String merchant_code = "";
    private String merchant_brand = "";
    private String brand_logo = "";
    private String order_back = "";

    public AuthBean() {

    }

    public AuthBean(String device_num, String store_code, String ali_store_id, String koubei_store_id, String inner_device_num, String out_store_code, String app_id, String partner_id, String merchant_id, String name, String branch_name, String merchant_code, String merchant_brand, String brand_logo, String order_back) {
        this.device_num = device_num;
        this.store_code = store_code;
        this.ali_store_id = ali_store_id;
        this.koubei_store_id = koubei_store_id;
        this.inner_device_num = inner_device_num;
        this.out_store_code = out_store_code;
        this.app_id = app_id;
        this.partner_id = partner_id;
        this.merchant_id = merchant_id;
        this.name = name;
        this.branch_name = branch_name;
        this.merchant_code = merchant_code;
        this.merchant_brand = merchant_brand;
        this.brand_logo = brand_logo;
        this.order_back = order_back;
    }

    public String getInner_device_num() {
        return inner_device_num;
    }

    public void setInner_device_num(String inner_device_num) {
        this.inner_device_num = inner_device_num;
    }

    public String getOut_store_code() {
        return out_store_code;
    }

    public void setOut_store_code(String out_store_code) {
        this.out_store_code = out_store_code;
    }

    public String getOrder_back() {
        return order_back;
    }

    public void setOrder_back(String order_back) {
        this.order_back = order_back;
    }

    public String getStoreName() {

        String name = this.name;
        if (!TextUtils.isEmpty(this.branch_name)) {
            name += "(" + this.branch_name + ")";
        }
        return name;
    }

    public String getDevice_num() {
        return device_num;
    }

    public void setDevice_num(String device_num) {
        this.device_num = device_num;
    }

    public String getStore_code() {
        return store_code;
    }

    public void setStore_code(String store_code) {
        this.store_code = store_code;
    }

    public String getAli_store_id() {
        return ali_store_id;
    }

    public void setAli_store_id(String ali_store_id) {
        this.ali_store_id = ali_store_id;
    }

    public String getKoubei_store_id() {
        return koubei_store_id;
    }

    public void setKoubei_store_id(String koubei_store_id) {
        this.koubei_store_id = koubei_store_id;
    }

    public String getApp_id() {
        return app_id;
    }

    public void setApp_id(String app_id) {
        this.app_id = app_id;
    }

    public String getPartner_id() {
        return partner_id;
    }

    public void setPartner_id(String partner_id) {
        this.partner_id = partner_id;
    }

    public String getMerchant_id() {
        return merchant_id;
    }

    public void setMerchant_id(String merchant_id) {
        this.merchant_id = merchant_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBranch_name() {
        return branch_name;
    }

    public void setBranch_name(String branch_name) {
        this.branch_name = branch_name;
    }

    public String getMerchant_code() {
        return merchant_code;
    }

    public void setMerchant_code(String merchant_code) {
        this.merchant_code = merchant_code;
    }

    public String getMerchant_brand() {
        return merchant_brand;
    }

    public void setMerchant_brand(String merchant_brand) {
        this.merchant_brand = merchant_brand;
    }

    public String getBrand_logo() {
        return brand_logo;
    }

    public void setBrand_logo(String brand_logo) {
        this.brand_logo = brand_logo;
    }

    @Override
    public String toString() {
        return "AuthBean{" +
                "device_num='" + device_num + '\'' +
                ", store_code='" + store_code + '\'' +
                ", ali_store_id='" + ali_store_id + '\'' +
                ", koubei_store_id='" + koubei_store_id + '\'' +
                ", inner_device_num='" + inner_device_num + '\'' +
                ", out_store_code='" + out_store_code + '\'' +
                ", app_id='" + app_id + '\'' +
                ", partner_id='" + partner_id + '\'' +
                ", merchant_id='" + merchant_id + '\'' +
                ", name='" + name + '\'' +
                ", branch_name='" + branch_name + '\'' +
                ", merchant_code='" + merchant_code + '\'' +
                ", merchant_brand='" + merchant_brand + '\'' +
                ", brand_logo='" + brand_logo + '\'' +
                ", order_back='" + order_back + '\'' +
                '}';
    }
}
